<gm:page title="Item to list" authenticate="false">

    <table>
    <tr>
      <td style="padding-bottom:20px">
        <gm:item template="t" data="${app}/test" create="true" />
      </td>
    </tr>
    <tr>
      <td>
        <gm:list data="${app}/test" />
      </td>
    </tr>
   </table>

   <gm:template id="t">
     <table border="1" with="80%">
       <tr>
         <td>Title:</td>
         <td><gm:text ref="atom:title"/></td>
       </tr>
       <tr>
         <td>Date:</td>
         <td><gm:date ref="gd:when/@startTime"/></td>
       </tr>
       <tr>
         <td colspan="2" style="padding-top:10px"><gm:editButtons text="true"/></td>
       </tr>
     </table>
   </gm:template>
   
   

  <gm:list id="myList" data="${app}/test" template="myListTemplate"/>
  
  
<gm:template id="myListTemplate">
    <table>
      <tbody repeat="true">
        <tr>
          <td><gm:text ref="atom:title"/></td>
          <td><gm:editButtons /></td>
        </tr>
      </tbody>
    </table>
    <gm:create label="Create new entry"/>
  </gm:template></gm:page>
